package com.atguigu.bean;

import java.io.Serializable;

/**
 * projectName: javaweb
 *
 * @author: 赵伟风
 * time: 2022/7/4 11:54 周一
 * description: 用户表的存储数据实体类
 *
 *    1. 实现序列化接口
 *    2. 保存无参数公有构造函数
 *    3. 私有化变量，公有方法
 *    4. 变量类型使用封装类型
 *    5. 变量命名问题和前端 |数据库一致
 *
 */
public class User implements Serializable {

    public static  final  Long  serialVersionUID = 1L;

    private Integer uId;
    private String uAccount;
    private String uPassword;
    private String uName;
    private Integer uSex; // 0 女  1 男
    private Integer uAge;
    private String uTel;
    private String uType;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuAccount() {
        return uAccount;
    }

    public void setuAccount(String uAccount) {
        this.uAccount = uAccount;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public Integer getuSex() {
        return uSex;
    }

    public void setuSex(Integer uSex) {
        this.uSex = uSex;
    }

    public Integer getuAge() {
        return uAge;
    }

    public void setuAge(Integer uAge) {
        this.uAge = uAge;
    }

    public String getuTel() {
        return uTel;
    }

    public void setuTel(String uTel) {
        this.uTel = uTel;
    }

    public String getuType() {
        return uType;
    }

    public void setuType(String uType) {
        this.uType = uType;
    }
}
